package org.zjkoye.crm.mapper;

import org.apache.ibatis.annotations.Update;
import org.zjkoye.crm.entity.Business;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zjkoye
 * @since 2024-06-23
 */
public interface BusinessMapper extends BaseMapper<Business> {

    @Update("UPDATE business SET order_status = #{status} WHERE business_id = #{businessId}")
    void updatesame(Integer businessId, String status);
}
